package com.jt.service;

import com.jt.anno.Cache;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService{
    @Override
    @Cache
    public void addDept() {
        System.out.println("添加安保部门");
    }

    @Override
    @Cache
    public void updateDept() {
        System.out.println("更新人力部门");
    }

    @Override
    @Cache
    public int buy(String something) {
        return 888;
    }

    @Override
    @Cache
    public void throwing(){
        System.out.println("出异常了");
    }

    @Override
    @Cache
    public void doaround() {
        System.out.println("实现用户的入库操作");
    }

    @Override
    @Cache
    public void order() {
        System.out.println("猜猜看怎么排序");
    }
}
